package com.wanqiu.ThreadPoolExecutorQueryDatabase.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * @author sunlele
 * @title: UserInfo
 * @description: 用户
 * @date 2020/9/2810:55
 */
@TableName("user_info")
public class UserInfo {
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer uId;
    @TableField("u_name")
    private String uName;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                '}';
    }
}
